package org.alis.smallcc.designpatterns.behavior.observer;



/**
 * 别墅
 * 
 * @author luochuan
 */
public class VillaObservable extends Observable{


	@Override
	public String getName() {
		return "别墅";
	}

	@Override
	public void notifyObserver() {
		// 不给穷逼发，给穷逼也没钱买
		super.notify(obs->"别墅降价了", obs->obs instanceof RichObserver);
		
	}
	
	

}
